package com.ecoolex.hotel.saas.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.hotel.saas.entity.DepartmentOutletsJoint;
import com.ecoolex.hotel.saas.entity.DepartmentOutletsJointExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface DepartmentOutletsJointMapper {
    long countByExample(DepartmentOutletsJointExample example);

    int deleteByExample(DepartmentOutletsJointExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DepartmentOutletsJoint record);

    int insertSelective(@Param("record") DepartmentOutletsJoint record, @Param("selective") DepartmentOutletsJoint.Column ... selective);

    DepartmentOutletsJoint selectOneByExample(DepartmentOutletsJointExample example);

    List<DepartmentOutletsJoint> selectByExample(DepartmentOutletsJointExample example);

    DepartmentOutletsJoint selectByPrimaryKey(Integer id);

    DepartmentOutletsJoint selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") DepartmentOutletsJoint record, @Param("example") DepartmentOutletsJointExample example, @Param("selective") DepartmentOutletsJoint.Column ... selective);

    int updateByExample(@Param("record") DepartmentOutletsJoint record, @Param("example") DepartmentOutletsJointExample example);

    int updateByPrimaryKeySelective(@Param("record") DepartmentOutletsJoint record, @Param("selective") DepartmentOutletsJoint.Column ... selective);

    int updateByPrimaryKey(DepartmentOutletsJoint record);

    int batchInsert(@Param("list") List<DepartmentOutletsJoint> list);

    int batchInsertSelective(@Param("list") List<DepartmentOutletsJoint> list, @Param("selective") DepartmentOutletsJoint.Column ... selective);

    int logicalDeleteByExample(@Param("example") DepartmentOutletsJointExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}